class ReleaseInfo:
    def __init__(self, data: dict):
        self.tag = data["release"]["tag"]["name"]
        self.msg = data["release"]["tag"]["message"]
        self.file_link = ""
        for file in data["release"]["release"]["attach_files"]:
            if file["name"] == "DLS.exe":
                self.file_link = f"https://gitee.com{file['download_url']}"
                break
